package cn.itcast.tanhua.sso.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName AliyunSMSConfig
 * @Description 读取阿里云短信服务的参数的实体类
 * @Author WU
 * @Date 2021/5/24 19:11
 * @Version 1.0
 */
@Data
@Configuration
@PropertySource("classpath:aliyun.properties")
@ConfigurationProperties(prefix = "aliyun.sms")
public class AliyunSMSConfig {
    private String regionId        ;
    private String accessKeyId     ;
    private String accessKeySecret ;
    private String domain          ;
    private String signName        ;
    private String templateCode    ;
}
